<?php
//this file will be the src for an img tag
require '../class/ThumbImage.php';
$path = $_GET["im"];
$maxsize = $_GET["s"];
if(!isset($maxsize)){
	$maxsize=100;
}
if(isset($path)){

  $thumb = new ThumbnailImage($path, $maxsize);
  $thumb->getQuality(50);
  $thumb->getImage();
}
?>